package com.github.easyms.common.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * Druid 配置
 *
 * @author Leo.Liao
 * @date 2020-04-10 01:32:31
 */
@Component
@ConfigurationProperties(prefix = "druid")
@Data
public class DruidProperties implements Serializable {

    /**
     * druid用户名
     */
    private String druidUsername;

    /**
     * druid密码
     */
    private String druidPassword;

}
